import io.reactivex.Observable;

public class C54 {
    public static void main(String[] args) {
        /* 与 merge 的区别：concat 会保留顺序 */
        Observable<String> source1 = Observable.just("Alpha", "Beta", "Gamma", "Delta", "Epsilon");
        Observable<String> source2 = Observable.just("Zeta", "Eta", "Theta");
        Observable.concat(source1, source2)
                  .subscribe(i -> System.out.println("RECEIVED: " + i));
    }
}
//EOP
